﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using UboxUI;

namespace Product
{
    public partial class FrmInsert : FrmUser_Father
    {
        public FrmInsert()
        {
            InitializeComponent();
            this.ban01.BringToFront();
            this.BtnClose.Left = this.Width - this.BtnClose.Width - 10;
            this.BtnNarrow.Left = this.BtnClose.Left - this.BtnNarrow.Width - 10;
            this.ban01.Top = 0;
        }


        #region 按鈕樣式
        private void btnOK_MouseEnter(object sender, EventArgs e)
        {
            this.btnOK.FlatAppearance.BorderSize = 0;
            this.btnOK.ForeColor = Color.White;
        }

        private void btnOK_MouseLeave(object sender, EventArgs e)
        {
            this.btnOK.FlatAppearance.BorderSize = 1;
            this.btnOK.ForeColor = Color.Black;
        }

        private void btnCancel_MouseEnter(object sender, EventArgs e)
        {
            this.btnCancel.FlatAppearance.BorderSize = 0;
            this.btnCancel.ForeColor = Color.White;
        }

        private void btnCancel_MouseLeave(object sender, EventArgs e)
        {
            this.btnCancel.FlatAppearance.BorderSize = 1;
            this.btnCancel.ForeColor = Color.Black;
        }




        #endregion
    }
}
